<template>
   <div>
    <div class="aa">
      <header1>猫眼电影</header1>
    <header2></header2>
    <!-- 子路由的链接 -->
       <ul class="nav">
         <div>
           深圳
         </div>
        <li><router-link to="/hot">热映</router-link></li>
        <li><router-link to="/cinema">影院</router-link></li>
        <li><router-link to="/wait">待映</router-link></li>
        <li><router-link to="/classic">经典电影</router-link></li>
        <div class="iconfont icon-sousuo" id="iconfont">
        </div>
      </ul>
    </div>
    <div class="con1">
      <!-- 子路由的路由出口 -->
    <router-view></router-view>
    </div>
  </div>
</template>
<script>
//引入第一个头部
import header1 from "../../components/commonh/header1.vue";
//引入第2个头部
import header2 from "@/components/commonh/header2.vue";
export default {
    name:"movie",
     //注册
  components: {
    header1,header2
  },
};
</script>
<style scoped>
#iconfont{
  color: red ;
}
.con1{
  margin-top: 154.5px;
  margin-bottom: 51px;
}
.aa {
  position: fixed;
  top: 0;
  width: 100%;
  height: 154.5px;
  z-index: 999;
}
.nav {
  border-top: 1px solid rgba(114, 109, 109,.2);
  border-bottom: 1px solid rgba(114, 109, 109,.2);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  height: 44px;
  line-height: 44px;
  background:#fff;
  font-size: 15px;
}
.nav a {
  color: #666;
  height: 40px;
  display: inline-block;
}
.nav a.router-link-exact-active {
  font-size: 17px;
  font-weight: bold;
  border-bottom: 3px solid #f03d37;
}
/* ::-webkit-scrollbar {
  display: none;
} */
</style>